<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>支付订单</title>
    <style>
        .pay-container {
            max-width: 600px;
            margin: 30px auto;
            padding: 20px;
            border: 1px solid #eee;
            border-radius: 5px;
        }
        .order-info {
            margin-bottom: 20px;
        }
        .pay-btn {
            background-color: #1890ff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
        }
    </style>
</head>
<body>
<jsp:include page="headPay.jsp"/>
<div class="pay-container">
    <h2>订单支付</h2>
    <div class="order-info">
        <p>订单号: ${order.order_id}</p>
        <p>金额: ¥${order.price}</p>
        <p>服务类型: ${order.service_type}</p>
    </div>
    <form action="/api/alipay/pay/${order.order_id}" method="post">
        <button type="submit" class="pay-btn">前往支付宝支付</button>
    </form>
</div>
</body>
</html>